"use strict";

Object.defineProperty(exports, "__esModule", {
    value: true
});
/* 
派发init命令给init.js 
派发config命令给config.js 
*/

// sto init vue-manager mymanager
var apply = function apply(action) {
    for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
        args[_key - 1] = arguments[_key];
    }

    // 找到init.js导出的处理器函数 调用之
    // init("vue-manager","mymanager")
    require("./" + action).apply(undefined, args);
};

exports.default = apply;